//
//  AboutClassModel.m
//  Products_B
//
//  Created by lanou on 16/5/30.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "AboutClassModel.h"

@implementation AboutClassModel

+ (NSMutableArray *)aboutClassModelAnalyseDataWithJsonDic:(NSDictionary *)jsonDic {
    NSMutableArray *modelArray = [NSMutableArray array];
    NSArray *dataArr = jsonDic[@"data"][@"data"];
    for (NSDictionary *dic in dataArr) {
        NSDictionary *relationDic = dic[@"relation"];
        AboutClassModel *model = [[AboutClassModel alloc] init];
        [model setValuesForKeysWithDictionary:relationDic];
        [modelArray addObject:model];
    }
    return modelArray;
}

@end
